﻿using System;
using System.Security.Cryptography;
using System.Text;

namespace zhangmenren.Untils
{
    public class Md5
    {
        /// <summary>
         /// 简单的变异MD5
         /// </summary>
         /// <param name="password"></param>
         /// <returns></returns>
         public static string MD5Str(string password)
         {
             return BitConverter.ToString(MD5.Create().ComputeHash(Encoding.Default.GetBytes(password))).Replace("X", "");
 
 
         }
    }
}
